Subject: Re: specs for G4 internal modem?
To: None <port-macppc@netbsd.org>
From: Timm Wetzel <me@gwdg.de>
List: port-macppc
Date: 09/18/2001 01:23:25
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--16868152-412617897-1000769005=:6083
Content-Type: TEXT/PLAIN; charset=US-ASCII


Nathan J. Williams wrote:

> My understanding is that the modem serial port is turned off by
> default as part of the power-saving setup, and we haven't yet found
> the right bit to tweak to turn it on.

Apparently it's the modem itself which is powered off, not the serial
port. 

The attached patch works with my G4 Cube. The Pangea part is
completely untested, and I also can't say whether this works with other
KeyLargo versions. 

The code is based on what Darwin and linuxppc do.

Regards,
Timm
-- 
Timm Wetzel       <twetzel@gwdg.de>
Max-Planck-Institut fuer biophysikalische Chemie, Abt. 081
Am Fassberg 11, D-37077 Goettingen


--16868152-412617897-1000769005=:6083
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="obio.c-modem.diff"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NXT.4.21.0109180123250.6083@kaa.local>
Content-Description: KeyLargo internal modem patch
Content-Disposition: attachment; filename="obio.c-modem.diff"

LS0tIG9iaW8uYy5vcmlnCU1vbiBKdW4gMTggMTI6NDA6MjIgMjAwMQ0KKysr
IG9iaW8uYwlGcmkgU2VwIDE0IDAxOjM1OjAwIDIwMDENCkBAIC0xMzMsNiAr
MTMzLDIxIEBADQogCWlmIChQQ0lfUFJPRFVDVChwYS0+cGFfaWQpID09IFBD
SV9QUk9EVUNUX0FQUExFX1BBRERJTkdUT04pDQogCQlvdXQ4KGNhLmNhX2Jh
c2VhZGRyICsgMHgzNywgMHgwMyk7DQogDQorCS8qIFhYWCBFbmFibGUgaW50
ZXJuYWwgbW9kZW0gKEtleUxhcmdvKSAqLw0KKwlpZiAoUENJX1BST0RVQ1Qo
cGEtPnBhX2lkKSA9PSBQQ0lfUFJPRFVDVF9BUFBMRV9LRVlMQVJHTykgew0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